/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 * 
 * The contents of this file are subject to the Mozilla Public License
 * Version 1.1 (the "License"); you may not use this file except in
 * compliance with the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 * 
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific language governing rights and limitations
 * under the License.
 * 
 * The Original Code is Komodo code.
 * 
 * The Initial Developer of the Original Code is ActiveState Software Inc.
 * Portions created by ActiveState Software Inc are Copyright (C) 2000-2007
 * ActiveState Software Inc. All Rights Reserved.
 * 
 * Contributor(s):
 *   ActiveState Software Inc
 * 
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 * 
 * ***** END LICENSE BLOCK ***** */

/* Folder Icons */

.upfolder-icon
{
  list-style-image : url("chrome://komodo/skin/global/images/upLevel.png");
}
.upfolder-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/global/images/upLevel_disable.png");
}

.newfolder-icon
{
  list-style-image : url("chrome://komodo/skin/global/images/newDirectory.png");
}
.newfolder-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/global/images/newDirectory.png");
}

/* General Icons */

.refresh-icon
{
    list-style-image: url("chrome://komodo/skin/global/images/refresh.png");
}

.goback-icon
{
    list-style-image: url("chrome://komodo/skin/global/images/goBack.png");
}
.goback-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/global/images/goBack_disable.png");
}

.warning-icon
{
/* #if PLATFORM == "darwin" */
    list-style-image : url("chrome://global/skin/icons/warning-large.png");
/* #else */
    list-style-image : url("chrome://global/skin/icons/Warning.png");
/* #endif */
    height: 32px;
    width: 32px;
}

.small-warning-icon
{
    list-style-image : url("chrome://komodo/skin/global/images/warning_small.png");
    min-height: 16px;
    height: 16px;
    width: 16px;
}


.question-icon
{
/* #if PLATFORM == "darwin" */
    list-style-image : url("chrome://global/skin/icons/alert-question.gif");
/* #else */
    list-style-image : url("chrome://global/skin/icons/Question.png");
/* #endif */
    height: 32px;
    width: 32px;
}


.help-icon,
.native-help-icon {
/* #if PLATFORM == "linux" */
  list-style-image : url("moz-icon://stock/gtk-help?size=16");
/* #else */
  list-style-image : url("chrome://komodo/skin/images/help.png");
/* #endif */
}


.double-down-icon,
.more-icon
{
  list-style-image : url("chrome://komodo/skin/images/more.gif");
}

.double-up-icon,
.less-icon
{
  list-style-image : url("chrome://komodo/skin/images/less.gif");
}

.project-icon
{
  list-style-image : url("chrome://komodo/skin/images/project_icon.png");
}

.server-pref-icon
{
  list-style-image: url("chrome://komodo/skin/global/images/serverAccount.png");
}

.preview-icon
{
  list-style-image: url("chrome://komodo/skin/global/images/preview.png");
}
.preview-icon[disabled="true"] {
  list-style-image: url("chrome://komodo/skin/global/images/preview_disable.png");
}

.refreshFile-icon
{
    list-style-image : url("chrome://komodo/skin/global/images/refreshFile.png");
}

.configure-icon
{
    list-style-image : url("chrome://komodo/skin/global/images/cog_edit.png");
}

.properties-icon
{
    list-style-image : url("chrome://komodo/skin/global/images/cog.png");
}

.clear-text-icon
{
  list-style-image : url("chrome://fugue/skin/icons/application-run.png");
}

.bulletlist-icon
{
  list-style-image : url("chrome://komodo/skin/images/bulletlist.png");
}
.bulletlist-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/bulletlist_disable.png");
}

.scrollright-arrow-mini-icon
{
  list-style-image : url("chrome://komodo/skin/images/scrollArrowRight-mini.png");
}

.scroll-arrow-right-icon
{
  list-style-image : url("chrome://komodo/skin/images/scrollArrowRight.png");
}
.scroll-arrow-right-icon:hover
{
  list-style-image : url("chrome://komodo/skin/images/scrollArrowRight_hover.png");
}
.scroll-arrow-right-icon[disabled="true"],
.scroll-arrow-right-icon[disabled="true"]:hover,
.scroll-arrow-right-icon[disabled="true"]:hover:active
{
  list-style-image : url("chrome://komodo/skin/images/scrollArrowRight_disable.png");
}

.scroll-arrow-left-icon
{
  list-style-image : url("chrome://komodo/skin/images/scrollArrowLeft.png");
}
.scroll-arrow-left-icon:hover
{
  list-style-image : url("chrome://komodo/skin/images/scrollArrowLeft_hover.png");
}
.scroll-arrow-left-icon[disabled="true"],
.scroll-arrow-left-icon[disabled="true"]:hover,
.scroll-arrow-left-icon[disabled="true"]:hover:active
{
  list-style-image : url("chrome://komodo/skin/images/scrollArrowLeft_disable.png");
}

.colorbg-icon
{
  list-style-image : url("chrome://komodo/skin/images/colorbg.png");
}

.boldtext-icon
{
  list-style-image : url("chrome://komodo/skin/images/boldButton.png");
}
.boldtext-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/boldButton_disable.png");
}

.italictext-icon
{
  list-style-image : url("chrome://komodo/skin/images/italicButton.png");
}
.italictext-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/italicButton_disable.png");
}

.find-stop-icon
{
  list-style-image : url("chrome://komodo/skin/images/find_stop.png");
}
.find-stop-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/find_stop_disable.png");
}


.find-undo-icon, /* deprecated since Komodo 7 */
.native-undo-icon
{
  /* #if PLATFORM == "linux" */
  list-style-image : url("moz-icon://stock/gtk-undo?size=16");
  /* #else */
  list-style-image : url("chrome://komodo/skin/images/undo.png");
  /* #endif */
}

.native-redo-icon
{
  /* #if PLATFORM == "linux" */
  list-style-image : url("moz-icon://stock/gtk-redo?size=16");
  /* #else */
  list-style-image : url("chrome://komodo/skin/images/redo.png");
  /* #endif */
}

.find-copy-icon
{
  list-style-image : url("chrome://fugue/skin/icons/clipboard--plus.png");
}
.find-copy-icon[locked="true"]
{
  list-style-image : url("chrome://fugue/skin/icons/clipboard--plus.png");
}

/* TODO: disabled versions of these */
.find-lock-icon
{
  list-style-image : url("chrome://fugue/skin/icons/lock-unlock.png");
}
.find-lock-icon[locked="true"]
{
  list-style-image : url("chrome://fugue/skin/icons/lock.png");
}


.macro-new-icon {
  list-style-image : url("chrome://famfamfamsilk/skin/icons/control_add_blue.png");
}

.macro-play-icon {
  list-style-image : url("chrome://komodo/skin/images/macro_play.png");
}
.macro-play-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/macro_play_disable.png");
}

.macro-pause-icon {
  list-style-image : url("chrome://komodo/skin/images/macro_pause.png");
}
.macro-pause-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/macro_pause_disable.png");
}

.macro-record-icon {
  list-style-image : url("chrome://komodo/skin/images/macro_record.png");
}
.macro-record-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/macro_record_disable.png");
}

.macro-stop-icon {
  list-style-image : url("chrome://komodo/skin/images/macro_stop.png");
}
.macro-stop-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/macro_stop_disable.png");
}

.macro-save-icon {
  list-style-image : url("chrome://komodo/skin/images/macro_save.png");
}
.macro-save-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/macro_save_disable.png");
}

.new-project-icon {
    list-style-image: url("chrome://komodo/skin/images/new_project.png")
}

.new-file-icon, /* new-file-icon is deprecated since Komodo 7 */
.native-new-file-icon
{
  /* #if PLATFORM == "linux" */
  list-style-image : url("moz-icon://stock/gtk-new?size=16");
  /* #else */
  list-style-image : url("chrome://komodo/skin/images/newText.png");
  /* #endif */
}

.new-window-icon {
  list-style-image : url("chrome://komodo/skin/images/komodo_16x16.png");
}

.open-file-icon, /* open-file-icon deprecated since Komodo 7 */
.native_open_icon {
  /* #if PLATFORM == "linux" */
  list-style-image: url("moz-icon://stock/gtk-open?size=16");
  /* #else */
  list-style-image: url("chrome://global/skin/dirListing/folder.png");
  /* #endif */
}

.native_folder_icon {
  /* #if PLATFORM == "linux" */
  list-style-image: url("moz-icon://stock/gtk-directory?size=16");
  /* #else */
  list-style-image: url("chrome://global/skin/dirListing/folder.png");
  /* #endif */
}

/* TODO: A disabled version of this icon. */
.project-tools-icon {
  list-style-image : url("chrome://fugue/skin/icons/gear.png");
}

.new-template-icon {
  list-style-image : url("chrome://komodo/skin/images/newTemplate.png");
}

.save-buffer-icon,
.native-save-icon {
  /* #if PLATFORM == "linux" */
  list-style-image : url("moz-icon://stock/gtk-save?size=16");
  /* #else */
  list-style-image : url("chrome://komodo/skin/images/save.png");
  /* #endif */
}

.run-command-icon {
  list-style-image : url("chrome://komodo/skin/images/run_commands.png");
}

.next-buffer-icon {
  list-style-image : url("chrome://komodo/skin/images/scrollArrowRight.png");
}
.next-buffer-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/scrollArrowRight_disable.png");
}


.previous-buffer-icon {
  list-style-image : url("chrome://komodo/skin/images/scrollArrowLeft.png");
}
.previous-buffer-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/scrollArrowLeft_disable.png");
}

.list-item-down-icon {
  list-style-image : url("chrome://komodo/skin/images/small-arrow.png");
}
.list-item-down-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/small-arrow_disable.png");
}


.list-item-up-icon {
  list-style-image : url("chrome://komodo/skin/images/small-arrow-up.png");
}
.list-item-up-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/small-arrow-up_disable.png");
}


.list-item-add-icon {
  list-style-image : url("chrome://komodo/skin/images/list_item_add.png");
}
.list-item-add-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/list_item_add_disable.png");
}

.list-item-edit-icon {
  list-style-image : url("chrome://komodo/skin/images/list_item_edit.png");
}
.list-item-edit-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/list_item_edit_disable.png");
}

.list-item-remove-icon {
  list-style-image : url("chrome://komodo/skin/images/list_item_remove.png");
}
.list-item-remove-icon[disabled="true"] {
  list-style-image : url("chrome://komodo/skin/images/list_item_remove_disable.png");
}

.green-undo-icon
{
  list-style-image : url("chrome://komodo/skin/images/undo.png");
}

button[type="moreinfo"] > .button-box > .button-icon
{
  margin-right: 0px;
  margin-left: 2px;
}

 utton[type="moreinfo"][open="true"]  {
  list-style-image: url("chrome://komodo/skin/images/less.gif");
  background-color: transparent;
}

button[type="moreinfo"]  {
  list-style-image: url("chrome://komodo/skin/images/more.gif");
}

/*
 * Force width/height for hidpi icons (max width/height does not work)
 *
 * Added to global as all our tree images are 16x16, it's therefore easier
 * to opt-out than it is to opt-in
 */
treechildren::-moz-tree-image
{
  height: 16px;
}

treechildren::-moz-tree-image(remotefolder)
{
  list-style-image: url('chrome://komodo/skin/images/folder-closed.png');
}

treechildren::-moz-tree-image(remotefile)
{
  list-style-image: url('chrome://komodo/skin/images/file_icon.png');
}

.small-stop-sign-icon
{
    list-style-image : url("chrome://komodo/skin/images/find_stop.png");
}

.small-cut-icon
{
    list-style-image : url("chrome://komodo/skin/images/cut.png");
}

/* Komodo icons */

.komodo-16x16 {
    list-style-image: url("chrome://komodo/skin/images/komodo_16x16.png");
}

/* Browser icons */

.browser-firefox-icon {
    list-style-image: url("chrome://famfamfamsilk/skin/icons/browser_firefox.png");
}
.browser-camino-icon {
    list-style-image: url("chrome://famfamfamsilk/skin/icons/browser_camino.png");
}
.browser-internetexplorer-icon {
    list-style-image: url("chrome://famfamfamsilk/skin/icons/browser_internetexplorer.png");
}
.browser-konqueror-icon {
    list-style-image: url("chrome://famfamfamsilk/skin/icons/browser_konqueror.png");
}
.browser-mozilla-icon {
    list-style-image: url("chrome://famfamfamsilk/skin/icons/browser_mozilla.png");
}
.browser-msnexplorer-icon {
    list-style-image: url("chrome://famfamfamsilk/skin/icons/browser_msnexplorer.png");
}
.browser-netscape-icon {
    list-style-image: url("chrome://famfamfamsilk/skin/icons/browser_netscape.png");
}
.browser-opera-icon {
    list-style-image: url("chrome://famfamfamsilk/skin/icons/browser_opera.png");
}
.browser-safari-icon {
    list-style-image: url("chrome://famfamfamsilk/skin/icons/browser_safari.png");
}
.browser-googlechrome-icon {
    list-style-image: url("chrome://famfamfamsilk/skin/icons/browser_chrome.png");
}


/**
 * Force min-height and line height so as to maintain a decent height at all times
 * Bug #97079
 */
menulist {
    min-height: 1.8em;
}

textbox {
    min-height: 1.8em;
}

description {
    line-height: 1.2;
}
description[disabled="true"] {
    /* XXX Why do I have to specify this? Shouldn't Moz default styles
      do this? */
    color: GrayText;
}
